//bubble创建

function createStationPics(fs) {
	for (var i in fs) {
		addStationPic(fs[i]);
		//createBubble(fs[i]);
	}
	setInterval(updateStationStyles,5000);
}

function updateStationStyles()
{
    var baseStationUrlPrefix = "http://172.16.157.2:8080/Waterworks/pipeline/textureAction/stationTexture/"

	for(var i in fs)
	{
		var feature = trackingLayer.get_item(fs[i].name);
		if(feature == null )
		{
			alert("null");
		}
		var style  = feature.get_style3D();
		var myUrl = baseStationUrlPrefix+fs[i].code+Math.uuid()+".png";
	    var paths=[myUrl,myUrl,myUrl,myUrl];
		style.set_sideTextureFiles(paths);
	}
	trackingLayer.refresh();
}
